package com.cskaoyan.service;

import com.cskaoyan.bean.Cart;
import com.cskaoyan.bean.cart.*;

import java.util.List;

public interface CartService {

    CartIndexBean selectCartIndex();

    Integer addCart(CartListBean cartListBean);

    void updateCart(CartUpdateBean cartUpdateBean);

    void  delectCart(CartDelectBean cartDelectBean);

    Integer selectGoodsCount();

    void updateChecked(CheckedBean checkedBean);

    //CartCheckoutBean checkoutCart(CheckoutBean checkoutBean);

    Integer selectCartByFastAddBean(FastAddBean fastAddBean);

    CheckOutVo selectCheckOutVo(Integer userId, Integer cartId, Integer addressId, Integer couponId, Integer grouponRulesId);
}
